﻿/**  版本信息模板在安装目录下，可自行修改。
* CreditHistory.cs
*
* 功 能： N/A
* 类 名： CreditHistory
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2016/7/10 16:28:12   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// CreditHistory:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class CreditHistory
	{
		public CreditHistory()
		{}
		#region Model
		private int _creditid;
		private int? _userid;
		private int? _type;
		private int? _sourceid;
		private int? _val;
		private string _creditdesc;
		private DateTime? _createtime;
		private DateTime? _updatetime;
		private int? _isactive;
		/// <summary>
		/// 
		/// </summary>
		public int CreditId
		{
			set{ _creditid=value;}
			get{return _creditid;}
		}
		/// <summary>
		/// 会员编号
		/// </summary>
		public int? UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 积分类型：1收入 2支出
		/// </summary>
		public int? Type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 积分来源：1购物 2活动赠送
		/// </summary>
		public int? SourceId
		{
			set{ _sourceid=value;}
			get{return _sourceid;}
		}
		/// <summary>
		/// 积分值
		/// </summary>
		public int? Val
		{
			set{ _val=value;}
			get{return _val;}
		}
		/// <summary>
		/// 积分描述
		/// </summary>
		public string CreditDesc
		{
			set{ _creditdesc=value;}
			get{return _creditdesc;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? UpdateTime
		{
			set{ _updatetime=value;}
			get{return _updatetime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? IsActive
		{
			set{ _isactive=value;}
			get{return _isactive;}
		}
		#endregion Model

	}
}

